package com.netease.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;

/**
 * @projectName: modeling-dev
 * @package: com.netease.vo
 * @className: RootInfoVO
 * @author: aochong
 * @description: 前端传入词根实体对象
 * @date: 2023/4/3 12:53
 * @version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "词根对象BO", description = "从客户端，由用户传入的数据封装在此entity中")
public class RootInfoBO {

    /**
     * 词根中文名称
     */
    @Column(name = "root_chns_nm")
    @ApiModelProperty(value = "词根中文名称", name = "root_chns_nm", example = "代码", required = true)
    private String rootChnsNm;

    /**
     * 翻译
     */
    @Column(name = "translt")
    @ApiModelProperty(value = "翻译", name = "translt", example = "code|word", required = false)
    private String translt;

    /**
     * 词根名称
     */
    @Column(name = "root_nm")
    @ApiModelProperty(value = "词根名称", name = "root_nm", example = "code", required = true)
    private String rootNm;

    /**
     * 业务板块
     */
    @Column(name = "bsinss_plate")
    @ApiModelProperty(value = "业务板块", name = "bsinss_plate", example = "国贸集团", required = true)
    private String bsinssPlate;
}
